package com.bl.student.dao.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Created by liangweikang on 19/10/19.
 */
@Entity
@Data
@Table(name = "percent")
@ApiModel(value = "PercentEntity", description = "提成比例")
@DynamicInsert
public class PercentEntity {
    @Id
    @ApiModelProperty(value = "积分类型id")
    private String id;

    @ApiModelProperty(value = "比例")
    private BigDecimal percent;
}
